package com.epalmpay.service.trade;

import java.util.List;

import com.epalmpay.dto.trade.DeviceOnlineRecordInDTO;
import com.epalmpay.entity.Page;
import com.epalmpay.entity.TradeOffline;

/**
 * Created by wucongpeng on 2017/5/4.
 */
public interface IDevOnlineRecordService {



    /**列出某门店下的所有交易
     * @param receiverName
     * @return
     * @throws Exception
     */
    public List<TradeOffline> listAllRecordByReceiverName(String receiverName) throws Exception;

    /**通过订单号获取交易信息
     * @param orderId
     * @return
     * @throws Exception
     */
    public TradeOffline getRecordByOrderId(String orderId) throws Exception;


    /**通过交易状态查询
     * @param status
     * @return
     * @throws Exception
     */
    public TradeOffline findByTransactionStatus(int status)throws Exception;

    /**交易记录列表分页
     * @return
     * @throws Exception
     */
    public List<TradeOffline> listOnlineRecords(DeviceOnlineRecordInDTO deviceOnlineRecordInDTO, Page page)throws Exception;

}
